import request from '@/utils/request'

// 获取商品详情数据
export const getProdetail = (goodsId) => {
  return request.get('/goods/detail', {
    params: {
      goodsId
    }
  })
}
// 获取商品详情评论数据
export const getCommentList = (goodsId) => {
  return request.get('/comment/listRows', {
    params: {
      goodsId,
      limit: 3
    }
  })
}
